<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'More <code>iptables</code>',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2018/06/28.jpg" alt="Under a bridge in a green area" class="framed-centred-image" width="649" height="480"/>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		I dreamed I was a dealing with a bully.
		At the beginning of the dream, I was just entering college.
		I was in an interview with the soon-to-be-revealed bully, who was excited about a project I was proposing as what I&apos;d be working on throughout my time with the university.
		The bully wanted to muscle in on the project, trying to apply their own degree to what I was doing, despite their degree and skills having nothing to do with what I was doing.
		They even lied to me, claiming I needed certain courses and we should take them together to work on the project, but they were courses the bully needed for their own degree and I didn&apos;t actually need.
		When I pointed this out and declined their participation, they used their position of authority to get my application to the school rejected.
		I told them I&apos;d turn them into the school for abuse of their power, and they talked me into believing the school wouldn&apos;t do anything about it.
		I believed it wouldn&apos;t make a difference and there was nothing I could do about it.
		Then I realised that if I was wrong and the school would even so much as jot this in their record to have in case of complains made by others, it&apos;d be worth my time to file the complaint anyway.
		I might not be able salvage my project or get my entrance into the school, but I might be able to help take this bully down years in the future.
		I made the mistake of coming back to confront the bully, which I did in a crowded school library, revealing that to the bully to show I wouldn&apos;t be intimidated.
	</p>
	<p>
		They ended up trying to track me using technology and keep me from leaving the room.
		At this point, I&apos;d become a child and now lived with my mother in the fifteenth-story loft of an apartment building.
		I managed to evade detection and exit the library, making it all the way back home.
		The bully used things I&apos;d said in the past to track me down, and got police to search my home twice.
		There was nothing illegal to find, of course, it was just a way for the bully to harass me.
		The first time, I was home alone, but the second time, my mother was there too and saw what was going on.
		I angrily explained that this was the work of the bully, and said if they had any ideas about how to deal with a bully, I&apos;d be open to them.
		I woke up before the second search could be completed.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			Comedy can be many things to many people.
			For example, some people find slapstick to be amusing, while I find it nothing short of repulsive.
			For me, humour is derived from the absurd or unexpected.
			I enjoy harmless pranks.
			I enjoy catching people off-guard.
			I enjoy making people believe something ludicrous, just for a moment, until the absurdity of their belief catches up with them and they realise I&apos;m messing with them.
			I even find things in nature to be humorous if they defy the logical.
			I find my own queerness funny, because I&apos;m attracted to people of the same sex.
			Clearly, the part of my brain that drives reproductive instinct can&apos;t figure out reproduction requires people of opposite sexes, despite the fact my conscious mind is well aware of that fact.
			I&apos;m a leaf node on the family tree, and while part of that is because I don&apos;t want children, knowing that everyone dies, so by creating life, I&apos;m sentencing that life to die.
			That&apos;s not something I want on my conscience.
			Another part though is because if I did want children, I would be unable to create them with my chosen partner.
			To me, that&apos;s hilarious.
			I laugh at myself, and I laugh at those around me.
			If I&apos;m not laughing at you, I probably dislike you to the point that I can&apos;t see the humour in the things you do; things I&apos;d find funny in anyone else.
			This is a rarity though; I pretty much have to loath you to not find <strong>*any*</strong> humour in your actions.
			I also enjoy <a href="https://en.wikipedia.org/wiki/Anti-humor">anti-humour</a>, a branch of humour in which things are expected to be absurd, but the punchline catches you off-guard because it&apos;s actually a pretty mundane or reasonable finish.
			For example, one anti-joke I enjoy is &quot;How do you confuse a blonde? Paint yourself green and throw forks at them.&quot;.
			Instead of claiming blonds are idiots like most blonde jokes do, this anti-joke instead proposes you perform an action that would confuse anyone of reasonable sanity level, blondes included.
			Another good one is &quot;What&apos;s sad about four black guys driving off a cliff? They were my friends.&quot;.
			It has the setup for a very racist joke, but it turns out instead the teller must mourn the passing of peopel close to them.
		</p>
		<p>
			The assigned discussion topic says to include examples of works we find funny, and being that this is an English course, I&apos;d love to make some of those examples literature-related.
			However, I don&apos;t often read for humour.
			Additionally, I&apos;m opposed to modern copyright law, so the media I allow myself to partake in is either too old to still be covered by copyright law (in other words, from before 1923) or are covered by a free culture license, such as {$a['CC BY']} or {$a['CC BY-SA']}.
			It&apos;s difficult to find books under such a license, so I mostly stick to old classics when I read.
			But again, I don&apos;t tend to read for comedy.
			I do read some Web comics though, which can be funny at times.
			The main freely-licensed Web comics I know and enjoy are <a href="http://floraverse.com/">Floraverse</a> and <a href="https://www.peppercarrot.com/">Pepper&amp;Carrot</a>.
			Some parts of both of these are funny, while other parts are more serious.
			Of particular note, I found the <a href="http://floraverse.com/comic/seeds-war-is-hell/not-good-with-kids/">Not Good With Kids</a> substory from Floraverse to be amusing.
			The artwork in that story is literally sketches, unlike most of the comic, but some of the dialogue is priceless.
			I also enjoy funny music.
			I suppose most of the funny music in my collection I bought from <a href="https://marcwithac.bandcamp.com/">Marc With a C</a> (warning: JavaScript required to preview or purchase music).
			Some of Marc&apos;s stuff that he intends to be funny isn&apos;t funny to me, and I don&apos;t like those particular song.
			Those songs tend to seem childish, such as one in which he stops the music and just chants the word &quot;Dick&quot; for a while.
			In-context, Dick is the name of his friend, but the intended humour is clearly that he&apos;s pretty much chanting &quot;penis&quot; repeatedly.
			Other songs by him are a a riot though, such as <a href="https://marcwithac.bandcamp.com/track/the-bitter-half">The Bitter Half</a>, <a href="https://marcwithac.bandcamp.com/track/love-my-little-squiddy">Love My Little Squiddy</a>, and <a href="https://marcwithac.bandcamp.com/track/if-these-walls-could-talk">If These Walls Could Talk</a> (again, JavaScript warning on all three).
			The first song, instead of claiming the subject of the song is their &quot;better half&quot;, claims that they themself are the subject&apos;s &quot;bitter half&quot;.
			The end result is the same, a claim that the narrator isn&apos;t whole without the subject and the subject is the better of the pair, but it&apos;s an entirely different take on that classic feeling.
			The next is about finding religion, but the religion found by the narrator isn&apos;t one you&apos;d expect.
			It&apos;s as absurd as any other religion, and yet unlike modern religion, the absurdity isn&apos;t lost on people.
			And finally, If These Walls Could Talk has a funny, unexpected ending.
		</p>
	</blockquote>
</section>
<section id="bicycle">
	<h2>My bicycle</h2>
	<p>
		I got my bike put back together, and found the new inner tube has something I haven&apos;t seen included with other inner tubes before: a nut for holding the valve stem in place in the wheel.
		Nice.
	</p>
	<p>
		I noticed two things have changed about how the bike rides now.
		First, it feels like the shocks don&apos;t exist any more.
		I feel every little bump in the road, where before I didn&apos;t.
		I&apos;m not sure what that&apos;s about.
		Second, I frequently hit spots in which I don&apos;t feel like I&apos;m getting enough resistance against the peddles, so I try to bump the bike up a gear, only to find I&apos;m already at the top gear.
		My best guess on that one is that the new tire is gripping the road so much better than the bald one that less effort is needed to ride it.
		I can use the higher gears more frequently now, and am probably moving faster.
	</p>
</section>
<section id="iptables">
	<h2><code>iptables</code></h2>
	<p>
		I don&apos;t know what I was thinking the other day, but I set up <code>iptables</code> to apply $a[LAN]-use-allowing rules to the <code>eth1</code> interface.
		I&apos;m guessing I copied the interface name from a website or something, because I would never index from one.
		I mean, I&apos;d&apos;ve chosen <code>eth0</code> instead.
		But also, that&apos;s a wired interface.
		Why was I applying rules to the wired interface when I only use Wi-Fi on this machine?
		I should&apos;ve been using <code>wlan0</code> as the target for the rules.
		But ... it seems my machine no longer uses the common interface names.
		One of the members at the $a[EUGLUG] meeting today blamed Wayland.
		It seems my Wi-Fi interface is now called <code>wlp12s0</code> for whatever reason.
		I got to thinking though, why am I specifying what outbound interface to apply the rules to?
		It&apos;s only the destination $a[IP] address I actually care about.
		So I removed the part of the rules that specified the interface name.
		It ... changed the results of the <code>ping</code> command.
		Before, I&apos;d been getting messages that the network location of nodes sharing the $a[LAN] with me were unreachable.
		Now I&apos;m instead sending the pings, but they&apos;re all getting lost.
		Or maybe their replies are getting lost.
		I&apos;m not really sure.
		I tried removing all the rules and allowing all traffic through, but my pings were still getting lost.
		It could be that the router at the $a[EUGLUG] meeting room is configured to drop pings.
		My best guess though is that something is working better than before on my machine.
		The unreachable location messages were from my machine as it failed to even send the pings; they had to be.
		I still need a Wi-Fi hub of my own if I&apos;m going to finish testing this though.
	</p>
</section>
END
);
